module.exports = {
    devServer: {
        open: false, //浏览器自动打开页面
        host: "0.0.0.0", //如果是真机测试，就使用这个IP
        port: 8080,
        https: false,
        disableHostCheck: true,
        proxy: {
            //配置跨域
            '/api': {
                // target: " http://nenxing-3.natapp1.cc/api",
                target: "http://192.168.30.83:8002/api",
                // target: "http://5byz9z.natappfree.cc",
                ws: true,
                changOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                }
            }
        }
    },
    productionSourceMap: false,
}
